﻿using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Security.Claims;
using Tb.App.API.Applications.Command.Basic;
using Tb.App.API.Dtos.Rabbit;
using Tb.App.Domain.Rabbit.Basic;
using Tb.App.ErrorCode;

namespace Tb.App.API.Controllers.Rabbit
{
    /// <summary>
    /// API控制器-健康检查
    /// </summary>
    [Route("api/[controller]")]
    [ApiController]
    public class HealthCheckController : ControllerBase
    {
        /// <summary>
        /// 检测
        /// </summary>
        /// <returns>返回信息</returns>
        [HttpGet]
        public IActionResult Check()
        {
            return Ok("一切正常");
        }
    }
}
